PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawBezier Method / drawBezier(PDFPen,double,double,double,double,double,double,double,double) Method
Object that determines the color, width, and style of the curve.
The x-coordinate of the starting point of the curve.
The y-coordinate of the starting point of the curve.
The x-coordinate of the first control point of the curve.
The y-coordinate of the first control point of the curve.
The x-coordinate of the second control point of the curve.
The y-coordinate of the second control point of the curve.
The x-coordinate of the ending point of the curve.
The y-coordinate of the ending point of the curve.
In This Topic
    drawBezier(PDFPen,double,double,double,double,double,double,double,double) Method
    In This Topic
    Draws a Bézier spline defined by four ordered pairs of coordinates that represent points.
    Syntax
    public void drawBezier( 
       PDFPen pen,
       double x1,
       double y1,
       double x2,
       double y2,
       double x3,
       double y3,
       double x4,
       double y4
    )

    Parameters

    pen
    Object that determines the color, width, and style of the curve.
    x1
    The x-coordinate of the starting point of the curve.
    y1
    The y-coordinate of the starting point of the curve.
    x2
    The x-coordinate of the first control point of the curve.
    y2
    The y-coordinate of the first control point of the curve.
    x3
    The x-coordinate of the second control point of the curve.
    y3
    The y-coordinate of the second control point of the curve.
    x4
    The x-coordinate of the ending point of the curve.
    y4
    The y-coordinate of the ending point of the curve.
    See Also